package com.yxw.bamboo.api.dao;

import com.yxw.bamboo.core.database.sql.LogData;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LogDbMapper {
    @Insert("INSERT INTO host_log (log_data,log_name,socket_step,offset,socket_hashcode,host_id)" +
            "VALUES(#{logData},#{logName},#{socketStep},#{offset},#{socketHashcode},#{hostId})")
    int insert(LogData logData);
}
